<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Over The Air (OTA) Update Library: OTA Macros</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="infineon_logo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Over The Air (OTA) Update Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Home</span></a></li>
      <li><a href="modules.html"><span>API&#160;Reference</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__ota__macros.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">OTA Macros<div class="ingroups"><a class="el" href="group__group__cy__ota.html">Infineon Over The Air (OTA) API</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p>Macros used to define the OTA Agent behavior. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga213f9eee8474306ba3a3ff7415ee26d3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a>&#160;&#160;&#160;CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_OTA_UPDATE, 0)</td></tr>
<tr class="memdesc:ga213f9eee8474306ba3a3ff7415ee26d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">OTA Update error code base.  <a href="#ga213f9eee8474306ba3a3ff7415ee26d3">More...</a><br /></td></tr>
<tr class="separator:ga213f9eee8474306ba3a3ff7415ee26d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaef318c4aef208a23957acdf5fa4263d7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#gaef318c4aef208a23957acdf5fa4263d7">CY_RSLT_OTA_ERROR_UNSUPPORTED</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  1) )</td></tr>
<tr class="memdesc:gaef318c4aef208a23957acdf5fa4263d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsupported feature.  <a href="#gaef318c4aef208a23957acdf5fa4263d7">More...</a><br /></td></tr>
<tr class="separator:gaef318c4aef208a23957acdf5fa4263d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2bfb7d49ce96e6cdbf937ec7cac7bf12"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga2bfb7d49ce96e6cdbf937ec7cac7bf12">CY_RSLT_OTA_ERROR_GENERAL</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  2) )</td></tr>
<tr class="memdesc:ga2bfb7d49ce96e6cdbf937ec7cac7bf12"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generic error.  <a href="#ga2bfb7d49ce96e6cdbf937ec7cac7bf12">More...</a><br /></td></tr>
<tr class="separator:ga2bfb7d49ce96e6cdbf937ec7cac7bf12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5f045ceaaa478a99bdc861922af87404"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga5f045ceaaa478a99bdc861922af87404">CY_RSLT_OTA_ERROR_BADARG</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  3) )</td></tr>
<tr class="memdesc:ga5f045ceaaa478a99bdc861922af87404"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bad argument.  <a href="#ga5f045ceaaa478a99bdc861922af87404">More...</a><br /></td></tr>
<tr class="separator:ga5f045ceaaa478a99bdc861922af87404"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga602b9706eebb62da969ac0e33338bd97"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga602b9706eebb62da969ac0e33338bd97">CY_RSLT_OTA_ERROR_OUT_OF_MEMORY</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  4) )</td></tr>
<tr class="memdesc:ga602b9706eebb62da969ac0e33338bd97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Out of Memory error.  <a href="#ga602b9706eebb62da969ac0e33338bd97">More...</a><br /></td></tr>
<tr class="separator:ga602b9706eebb62da969ac0e33338bd97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac4da551b2f4908dccaa40b6fe233d075"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#gac4da551b2f4908dccaa40b6fe233d075">CY_RSLT_OTA_ERROR_ALREADY_STARTED</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  5) )</td></tr>
<tr class="memdesc:gac4da551b2f4908dccaa40b6fe233d075"><td class="mdescLeft">&#160;</td><td class="mdescRight">OTA update already started.  <a href="#gac4da551b2f4908dccaa40b6fe233d075">More...</a><br /></td></tr>
<tr class="separator:gac4da551b2f4908dccaa40b6fe233d075"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacc1a9b1b27f1b1c2865a272023c412b5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#gacc1a9b1b27f1b1c2865a272023c412b5">CY_RSLT_OTA_ERROR_MQTT_INIT</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  6) )</td></tr>
<tr class="memdesc:gacc1a9b1b27f1b1c2865a272023c412b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">MQTT init failed.  <a href="#gacc1a9b1b27f1b1c2865a272023c412b5">More...</a><br /></td></tr>
<tr class="separator:gacc1a9b1b27f1b1c2865a272023c412b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga94a5fccb180521ba74ea27e377040df2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga94a5fccb180521ba74ea27e377040df2">CY_RSLT_OTA_ERROR_OPEN_STORAGE</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  7) )</td></tr>
<tr class="memdesc:ga94a5fccb180521ba74ea27e377040df2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Could not open local storage.  <a href="#ga94a5fccb180521ba74ea27e377040df2">More...</a><br /></td></tr>
<tr class="separator:ga94a5fccb180521ba74ea27e377040df2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3539721720511bcc56be1aa159b1edf8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga3539721720511bcc56be1aa159b1edf8">CY_RSLT_OTA_ERROR_READ_STORAGE</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  8) )</td></tr>
<tr class="memdesc:ga3539721720511bcc56be1aa159b1edf8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Could not Read from local storage.  <a href="#ga3539721720511bcc56be1aa159b1edf8">More...</a><br /></td></tr>
<tr class="separator:ga3539721720511bcc56be1aa159b1edf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0e94362bf172e8e01e851f18a41b6a5f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga0e94362bf172e8e01e851f18a41b6a5f">CY_RSLT_OTA_ERROR_WRITE_STORAGE</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  9) )</td></tr>
<tr class="memdesc:ga0e94362bf172e8e01e851f18a41b6a5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Could not Write to local storage.  <a href="#ga0e94362bf172e8e01e851f18a41b6a5f">More...</a><br /></td></tr>
<tr class="separator:ga0e94362bf172e8e01e851f18a41b6a5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga074884bb0c5caffdd660e577af3248f7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga074884bb0c5caffdd660e577af3248f7">CY_RSLT_OTA_ERROR_CLOSE_STORAGE</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 10) )</td></tr>
<tr class="memdesc:ga074884bb0c5caffdd660e577af3248f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Close local storage error.  <a href="#ga074884bb0c5caffdd660e577af3248f7">More...</a><br /></td></tr>
<tr class="separator:ga074884bb0c5caffdd660e577af3248f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga519c506d59a1ab1e126d9dd4e8a5f054"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga519c506d59a1ab1e126d9dd4e8a5f054">CY_RSLT_OTA_ERROR_CONNECT</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 11) )</td></tr>
<tr class="memdesc:ga519c506d59a1ab1e126d9dd4e8a5f054"><td class="mdescLeft">&#160;</td><td class="mdescRight">Connection to the server failed.  <a href="#ga519c506d59a1ab1e126d9dd4e8a5f054">More...</a><br /></td></tr>
<tr class="separator:ga519c506d59a1ab1e126d9dd4e8a5f054"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf1d3f3c05f8239bac90ff280f34441ad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#gaf1d3f3c05f8239bac90ff280f34441ad">CY_RSLT_OTA_ERROR_DISCONNECT</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 12) )</td></tr>
<tr class="memdesc:gaf1d3f3c05f8239bac90ff280f34441ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Server disconnect error.  <a href="#gaf1d3f3c05f8239bac90ff280f34441ad">More...</a><br /></td></tr>
<tr class="separator:gaf1d3f3c05f8239bac90ff280f34441ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa8eec83bf1a9f12fbf3d0695fd927ecc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#gaa8eec83bf1a9f12fbf3d0695fd927ecc">CY_RSLT_OTA_ERROR_REDIRECT</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 13) )</td></tr>
<tr class="memdesc:gaa8eec83bf1a9f12fbf3d0695fd927ecc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Redirection failure.  <a href="#gaa8eec83bf1a9f12fbf3d0695fd927ecc">More...</a><br /></td></tr>
<tr class="separator:gaa8eec83bf1a9f12fbf3d0695fd927ecc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1c25e49e9d4924010fa246372c35ecaf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga1c25e49e9d4924010fa246372c35ecaf">CY_RSLT_OTA_ERROR_SERVER_DROPPED</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 14) )</td></tr>
<tr class="memdesc:ga1c25e49e9d4924010fa246372c35ecaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Broker/server disconnected.  <a href="#ga1c25e49e9d4924010fa246372c35ecaf">More...</a><br /></td></tr>
<tr class="separator:ga1c25e49e9d4924010fa246372c35ecaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf18f30c0c209b60012ed43e259c8299b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#gaf18f30c0c209b60012ed43e259c8299b">CY_RSLT_OTA_ERROR_MQTT_SUBSCRIBE</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 15) )</td></tr>
<tr class="memdesc:gaf18f30c0c209b60012ed43e259c8299b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Broker/server Subscribe error.  <a href="#gaf18f30c0c209b60012ed43e259c8299b">More...</a><br /></td></tr>
<tr class="separator:gaf18f30c0c209b60012ed43e259c8299b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae0ebc271ab58c1b95ca1cd3a5edf062b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#gae0ebc271ab58c1b95ca1cd3a5edf062b">CY_RSLT_OTA_ERROR_MQTT_PUBLISH</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 16) )</td></tr>
<tr class="memdesc:gae0ebc271ab58c1b95ca1cd3a5edf062b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Broker/Server Publish error.  <a href="#gae0ebc271ab58c1b95ca1cd3a5edf062b">More...</a><br /></td></tr>
<tr class="separator:gae0ebc271ab58c1b95ca1cd3a5edf062b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga72d33079184f1c4b38d59ca9ed2ba4cf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga72d33079184f1c4b38d59ca9ed2ba4cf">CY_RSLT_OTA_ERROR_GET_JOB</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 17) )</td></tr>
<tr class="memdesc:ga72d33079184f1c4b38d59ca9ed2ba4cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Failed to get the OTA Job document.  <a href="#ga72d33079184f1c4b38d59ca9ed2ba4cf">More...</a><br /></td></tr>
<tr class="separator:ga72d33079184f1c4b38d59ca9ed2ba4cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc81291ec2968b7a51973b609c761bd1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#gafc81291ec2968b7a51973b609c761bd1">CY_RSLT_OTA_ERROR_GET_DATA</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 18) )</td></tr>
<tr class="memdesc:gafc81291ec2968b7a51973b609c761bd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Failed to get the OTA image.  <a href="#gafc81291ec2968b7a51973b609c761bd1">More...</a><br /></td></tr>
<tr class="separator:gafc81291ec2968b7a51973b609c761bd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga996c7f0d10151efc3a1061d664d0ea8a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga996c7f0d10151efc3a1061d664d0ea8a">CY_RSLT_OTA_ERROR_NOT_A_HEADER</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 19) )</td></tr>
<tr class="memdesc:ga996c7f0d10151efc3a1061d664d0ea8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">No header in the payload.  <a href="#ga996c7f0d10151efc3a1061d664d0ea8a">More...</a><br /></td></tr>
<tr class="separator:ga996c7f0d10151efc3a1061d664d0ea8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga90bf832c7c98a10c1ccf1ef867577ef8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga90bf832c7c98a10c1ccf1ef867577ef8">CY_RSLT_OTA_ERROR_NOT_A_JOB_DOC</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 20) )</td></tr>
<tr class="memdesc:ga90bf832c7c98a10c1ccf1ef867577ef8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Job document is invalid.  <a href="#ga90bf832c7c98a10c1ccf1ef867577ef8">More...</a><br /></td></tr>
<tr class="separator:ga90bf832c7c98a10c1ccf1ef867577ef8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab2357860328020f4b5bb96e4976e0503"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#gab2357860328020f4b5bb96e4976e0503">CY_RSLT_OTA_ERROR_MALFORMED_JOB_DOC</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 21) )</td></tr>
<tr class="memdesc:gab2357860328020f4b5bb96e4976e0503"><td class="mdescLeft">&#160;</td><td class="mdescRight">Malformed Job document.  <a href="#gab2357860328020f4b5bb96e4976e0503">More...</a><br /></td></tr>
<tr class="separator:gab2357860328020f4b5bb96e4976e0503"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1d12c0a9bded83c9c7fc28de4cb26e8d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga1d12c0a9bded83c9c7fc28de4cb26e8d">CY_RSLT_OTA_ERROR_WRONG_BOARD</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 22) )</td></tr>
<tr class="memdesc:ga1d12c0a9bded83c9c7fc28de4cb26e8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Board in Job document does not match.  <a href="#ga1d12c0a9bded83c9c7fc28de4cb26e8d">More...</a><br /></td></tr>
<tr class="separator:ga1d12c0a9bded83c9c7fc28de4cb26e8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga828f0bfe78f4314ed585f7989eb0e1e9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga828f0bfe78f4314ed585f7989eb0e1e9">CY_RSLT_OTA_ERROR_INVALID_VERSION</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 23) )</td></tr>
<tr class="memdesc:ga828f0bfe78f4314ed585f7989eb0e1e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invalid version in Job or Packet.  <a href="#ga828f0bfe78f4314ed585f7989eb0e1e9">More...</a><br /></td></tr>
<tr class="separator:ga828f0bfe78f4314ed585f7989eb0e1e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga05a242705c79d0c758365caea4d5af97"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga05a242705c79d0c758365caea4d5af97">CY_RSLT_OTA_ERROR_VERIFY</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 24) )</td></tr>
<tr class="memdesc:ga05a242705c79d0c758365caea4d5af97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify image failure.  <a href="#ga05a242705c79d0c758365caea4d5af97">More...</a><br /></td></tr>
<tr class="separator:ga05a242705c79d0c758365caea4d5af97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0d9847708d8f998130ce2062ff4ee32f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga0d9847708d8f998130ce2062ff4ee32f">CY_RSLT_OTA_ERROR_SENDING_RESULT</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 25) )</td></tr>
<tr class="memdesc:ga0d9847708d8f998130ce2062ff4ee32f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sending result failed.  <a href="#ga0d9847708d8f998130ce2062ff4ee32f">More...</a><br /></td></tr>
<tr class="separator:ga0d9847708d8f998130ce2062ff4ee32f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabca120598cf31481bf9024330d4a26a6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#gabca120598cf31481bf9024330d4a26a6">CY_RSLT_OTA_ERROR_APP_RETURNED_STOP</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 26) )</td></tr>
<tr class="memdesc:gabca120598cf31481bf9024330d4a26a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback returned Stop OTA download.  <a href="#gabca120598cf31481bf9024330d4a26a6">More...</a><br /></td></tr>
<tr class="separator:gabca120598cf31481bf9024330d4a26a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3f432649d0f4a00f60138d4b8401c380"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga3f432649d0f4a00f60138d4b8401c380">CY_RSLT_OTA_ERROR_APP_EXCEEDED_RETRIES</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 27) )</td></tr>
<tr class="memdesc:ga3f432649d0f4a00f60138d4b8401c380"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of retries exceeded.  <a href="#ga3f432649d0f4a00f60138d4b8401c380">More...</a><br /></td></tr>
<tr class="separator:ga3f432649d0f4a00f60138d4b8401c380"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaeddb7ad91ae3202b50a8adcf4d2ff02"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#gaaeddb7ad91ae3202b50a8adcf4d2ff02">CY_RSLT_OTA_ERROR_TRANSPORT_UNSUPPORTED</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 28) )</td></tr>
<tr class="memdesc:gaaeddb7ad91ae3202b50a8adcf4d2ff02"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTP, MQTT or Bluetooth® not supported in this build.  <a href="#gaaeddb7ad91ae3202b50a8adcf4d2ff02">More...</a><br /></td></tr>
<tr class="separator:gaaeddb7ad91ae3202b50a8adcf4d2ff02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab1865224e6f8786ef834d8222b1d80f4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#gab1865224e6f8786ef834d8222b1d80f4">CY_RSLT_OTA_ERROR_BLE_GENERAL</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 32) )</td></tr>
<tr class="memdesc:gab1865224e6f8786ef834d8222b1d80f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">General Bluetooth® error.  <a href="#gab1865224e6f8786ef834d8222b1d80f4">More...</a><br /></td></tr>
<tr class="separator:gab1865224e6f8786ef834d8222b1d80f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4fb4289e114ccd9c3a11bb8602544ce8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga4fb4289e114ccd9c3a11bb8602544ce8">CY_RSLT_OTA_ERROR_BLE_VERIFY</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 33) )</td></tr>
<tr class="memdesc:ga4fb4289e114ccd9c3a11bb8602544ce8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bluetooth® Verification of download error.  <a href="#ga4fb4289e114ccd9c3a11bb8602544ce8">More...</a><br /></td></tr>
<tr class="separator:ga4fb4289e114ccd9c3a11bb8602544ce8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4ddc0b5f9c10214461f61c06aae98beb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga4ddc0b5f9c10214461f61c06aae98beb">CY_RSLT_OTA_ERROR_BLE_STORAGE</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 34) )</td></tr>
<tr class="memdesc:ga4ddc0b5f9c10214461f61c06aae98beb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bluetooth® BLE Transport Error.  <a href="#ga4ddc0b5f9c10214461f61c06aae98beb">More...</a><br /></td></tr>
<tr class="separator:ga4ddc0b5f9c10214461f61c06aae98beb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac9f0157c245803a2cc7fa006b5d8cbdf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#gac9f0157c245803a2cc7fa006b5d8cbdf">CY_RSLT_OTA_ERROR_SMIF_TIMEOUT</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 64) )</td></tr>
<tr class="memdesc:gac9f0157c245803a2cc7fa006b5d8cbdf"><td class="mdescLeft">&#160;</td><td class="mdescRight">SMIF timeout.  <a href="#gac9f0157c245803a2cc7fa006b5d8cbdf">More...</a><br /></td></tr>
<tr class="separator:gac9f0157c245803a2cc7fa006b5d8cbdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac1db017f6ca01321a0d0427a26e4eb5d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#gac1db017f6ca01321a0d0427a26e4eb5d">CY_RSLT_OTA_INFO_BASE</a>&#160;&#160;&#160;CY_RSLT_CREATE(CY_RSLT_TYPE_INFO, CY_RSLT_MODULE_MIDDLEWARE_OTA_UPDATE, 0)</td></tr>
<tr class="memdesc:gac1db017f6ca01321a0d0427a26e4eb5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Base for informational results.  <a href="#gac1db017f6ca01321a0d0427a26e4eb5d">More...</a><br /></td></tr>
<tr class="separator:gac1db017f6ca01321a0d0427a26e4eb5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga442089df28bff420f4c6c807104c36cf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga442089df28bff420f4c6c807104c36cf">CY_RSLT_OTA_EXITING</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#gac1db017f6ca01321a0d0427a26e4eb5d">CY_RSLT_OTA_INFO_BASE</a> + 1) )</td></tr>
<tr class="memdesc:ga442089df28bff420f4c6c807104c36cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">OTA Agent exiting.  <a href="#ga442089df28bff420f4c6c807104c36cf">More...</a><br /></td></tr>
<tr class="separator:ga442089df28bff420f4c6c807104c36cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5855d176295aea93b87f4f5b701a2c3b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga5855d176295aea93b87f4f5b701a2c3b">CY_RSLT_OTA_ALREADY_CONNECTED</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#gac1db017f6ca01321a0d0427a26e4eb5d">CY_RSLT_OTA_INFO_BASE</a> + 2) )</td></tr>
<tr class="memdesc:ga5855d176295aea93b87f4f5b701a2c3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">OTA already connected.  <a href="#ga5855d176295aea93b87f4f5b701a2c3b">More...</a><br /></td></tr>
<tr class="separator:ga5855d176295aea93b87f4f5b701a2c3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0ebe6e99ef7dd59f63021386bea90274"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga0ebe6e99ef7dd59f63021386bea90274">CY_RSLT_OTA_CHANGING_SERVER</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#gac1db017f6ca01321a0d0427a26e4eb5d">CY_RSLT_OTA_INFO_BASE</a> + 3) )</td></tr>
<tr class="memdesc:ga0ebe6e99ef7dd59f63021386bea90274"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data broker/server different from job.  <a href="#ga0ebe6e99ef7dd59f63021386bea90274">More...</a><br /></td></tr>
<tr class="separator:ga0ebe6e99ef7dd59f63021386bea90274"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3b3610ed06decd49b59451ad71a2f9fb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga3b3610ed06decd49b59451ad71a2f9fb">CY_RSLT_OTA_USE_JOB_FLOW</a>&#160;&#160;&#160;( (cy_rslt_t)(CY_RSLT_SUCCESS          ) )</td></tr>
<tr class="memdesc:ga3b3610ed06decd49b59451ad71a2f9fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Use Job flow for update.  <a href="#ga3b3610ed06decd49b59451ad71a2f9fb">More...</a><br /></td></tr>
<tr class="separator:ga3b3610ed06decd49b59451ad71a2f9fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8ab9d0ba1ee8476721ca3c668418d605"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#ga8ab9d0ba1ee8476721ca3c668418d605">CY_RSLT_OTA_USE_DIRECT_FLOW</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#gac1db017f6ca01321a0d0427a26e4eb5d">CY_RSLT_OTA_INFO_BASE</a> + 4) )</td></tr>
<tr class="memdesc:ga8ab9d0ba1ee8476721ca3c668418d605"><td class="mdescLeft">&#160;</td><td class="mdescRight">Use Direct flow for update.  <a href="#ga8ab9d0ba1ee8476721ca3c668418d605">More...</a><br /></td></tr>
<tr class="separator:ga8ab9d0ba1ee8476721ca3c668418d605"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac0aa1a41fe2d75d14443050ecb235505"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ota__macros.html#gac0aa1a41fe2d75d14443050ecb235505">CY_RSLT_OTA_NO_UPDATE_AVAILABLE</a>&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#gac1db017f6ca01321a0d0427a26e4eb5d">CY_RSLT_OTA_INFO_BASE</a> + 5) )</td></tr>
<tr class="memdesc:gac0aa1a41fe2d75d14443050ecb235505"><td class="mdescLeft">&#160;</td><td class="mdescRight">No OTA update on the server.  <a href="#gac0aa1a41fe2d75d14443050ecb235505">More...</a><br /></td></tr>
<tr class="separator:gac0aa1a41fe2d75d14443050ecb235505"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ga213f9eee8474306ba3a3ff7415ee26d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_BASE&#160;&#160;&#160;CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_OTA_UPDATE, 0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>OTA Update error code base. </p>

</div>
</div>
<a class="anchor" id="gaef318c4aef208a23957acdf5fa4263d7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_UNSUPPORTED&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  1) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unsupported feature. </p>

</div>
</div>
<a class="anchor" id="ga2bfb7d49ce96e6cdbf937ec7cac7bf12"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_GENERAL&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  2) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Generic error. </p>

</div>
</div>
<a class="anchor" id="ga5f045ceaaa478a99bdc861922af87404"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_BADARG&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  3) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Bad argument. </p>

</div>
</div>
<a class="anchor" id="ga602b9706eebb62da969ac0e33338bd97"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_OUT_OF_MEMORY&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  4) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Out of Memory error. </p>

</div>
</div>
<a class="anchor" id="gac4da551b2f4908dccaa40b6fe233d075"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_ALREADY_STARTED&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  5) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>OTA update already started. </p>

</div>
</div>
<a class="anchor" id="gacc1a9b1b27f1b1c2865a272023c412b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_MQTT_INIT&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  6) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MQTT init failed. </p>

</div>
</div>
<a class="anchor" id="ga94a5fccb180521ba74ea27e377040df2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_OPEN_STORAGE&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  7) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Could not open local storage. </p>

</div>
</div>
<a class="anchor" id="ga3539721720511bcc56be1aa159b1edf8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_READ_STORAGE&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  8) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Could not Read from local storage. </p>

</div>
</div>
<a class="anchor" id="ga0e94362bf172e8e01e851f18a41b6a5f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_WRITE_STORAGE&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> +  9) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Could not Write to local storage. </p>

</div>
</div>
<a class="anchor" id="ga074884bb0c5caffdd660e577af3248f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_CLOSE_STORAGE&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 10) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Close local storage error. </p>

</div>
</div>
<a class="anchor" id="ga519c506d59a1ab1e126d9dd4e8a5f054"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_CONNECT&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 11) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Connection to the server failed. </p>

</div>
</div>
<a class="anchor" id="gaf1d3f3c05f8239bac90ff280f34441ad"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_DISCONNECT&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 12) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Server disconnect error. </p>

</div>
</div>
<a class="anchor" id="gaa8eec83bf1a9f12fbf3d0695fd927ecc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_REDIRECT&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 13) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Redirection failure. </p>

</div>
</div>
<a class="anchor" id="ga1c25e49e9d4924010fa246372c35ecaf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_SERVER_DROPPED&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 14) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Broker/server disconnected. </p>

</div>
</div>
<a class="anchor" id="gaf18f30c0c209b60012ed43e259c8299b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_MQTT_SUBSCRIBE&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 15) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Broker/server Subscribe error. </p>

</div>
</div>
<a class="anchor" id="gae0ebc271ab58c1b95ca1cd3a5edf062b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_MQTT_PUBLISH&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 16) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Broker/Server Publish error. </p>

</div>
</div>
<a class="anchor" id="ga72d33079184f1c4b38d59ca9ed2ba4cf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_GET_JOB&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 17) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Failed to get the OTA Job document. </p>

</div>
</div>
<a class="anchor" id="gafc81291ec2968b7a51973b609c761bd1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_GET_DATA&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 18) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Failed to get the OTA image. </p>

</div>
</div>
<a class="anchor" id="ga996c7f0d10151efc3a1061d664d0ea8a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_NOT_A_HEADER&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 19) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>No header in the payload. </p>

</div>
</div>
<a class="anchor" id="ga90bf832c7c98a10c1ccf1ef867577ef8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_NOT_A_JOB_DOC&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 20) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Job document is invalid. </p>

</div>
</div>
<a class="anchor" id="gab2357860328020f4b5bb96e4976e0503"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_MALFORMED_JOB_DOC&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 21) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Malformed Job document. </p>

</div>
</div>
<a class="anchor" id="ga1d12c0a9bded83c9c7fc28de4cb26e8d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_WRONG_BOARD&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 22) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Board in Job document does not match. </p>

</div>
</div>
<a class="anchor" id="ga828f0bfe78f4314ed585f7989eb0e1e9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_INVALID_VERSION&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 23) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Invalid version in Job or Packet. </p>

</div>
</div>
<a class="anchor" id="ga05a242705c79d0c758365caea4d5af97"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_VERIFY&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 24) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Verify image failure. </p>

</div>
</div>
<a class="anchor" id="ga0d9847708d8f998130ce2062ff4ee32f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_SENDING_RESULT&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 25) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sending result failed. </p>

</div>
</div>
<a class="anchor" id="gabca120598cf31481bf9024330d4a26a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_APP_RETURNED_STOP&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 26) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Callback returned Stop OTA download. </p>

</div>
</div>
<a class="anchor" id="ga3f432649d0f4a00f60138d4b8401c380"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_APP_EXCEEDED_RETRIES&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 27) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of retries exceeded. </p>

</div>
</div>
<a class="anchor" id="gaaeddb7ad91ae3202b50a8adcf4d2ff02"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_TRANSPORT_UNSUPPORTED&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 28) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>HTTP, MQTT or Bluetooth® not supported in this build. </p>

</div>
</div>
<a class="anchor" id="gab1865224e6f8786ef834d8222b1d80f4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_BLE_GENERAL&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 32) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>General Bluetooth® error. </p>

</div>
</div>
<a class="anchor" id="ga4fb4289e114ccd9c3a11bb8602544ce8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_BLE_VERIFY&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 33) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Bluetooth® Verification of download error. </p>

</div>
</div>
<a class="anchor" id="ga4ddc0b5f9c10214461f61c06aae98beb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_BLE_STORAGE&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 34) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Bluetooth® BLE Transport Error. </p>

</div>
</div>
<a class="anchor" id="gac9f0157c245803a2cc7fa006b5d8cbdf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ERROR_SMIF_TIMEOUT&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#ga213f9eee8474306ba3a3ff7415ee26d3">CY_RSLT_OTA_ERROR_BASE</a> + 64) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SMIF timeout. </p>

</div>
</div>
<a class="anchor" id="gac1db017f6ca01321a0d0427a26e4eb5d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_INFO_BASE&#160;&#160;&#160;CY_RSLT_CREATE(CY_RSLT_TYPE_INFO, CY_RSLT_MODULE_MIDDLEWARE_OTA_UPDATE, 0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Base for informational results. </p>

</div>
</div>
<a class="anchor" id="ga442089df28bff420f4c6c807104c36cf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_EXITING&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#gac1db017f6ca01321a0d0427a26e4eb5d">CY_RSLT_OTA_INFO_BASE</a> + 1) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>OTA Agent exiting. </p>

</div>
</div>
<a class="anchor" id="ga5855d176295aea93b87f4f5b701a2c3b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_ALREADY_CONNECTED&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#gac1db017f6ca01321a0d0427a26e4eb5d">CY_RSLT_OTA_INFO_BASE</a> + 2) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>OTA already connected. </p>

</div>
</div>
<a class="anchor" id="ga0ebe6e99ef7dd59f63021386bea90274"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_CHANGING_SERVER&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#gac1db017f6ca01321a0d0427a26e4eb5d">CY_RSLT_OTA_INFO_BASE</a> + 3) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Data broker/server different from job. </p>

</div>
</div>
<a class="anchor" id="ga3b3610ed06decd49b59451ad71a2f9fb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_USE_JOB_FLOW&#160;&#160;&#160;( (cy_rslt_t)(CY_RSLT_SUCCESS          ) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Use Job flow for update. </p>

</div>
</div>
<a class="anchor" id="ga8ab9d0ba1ee8476721ca3c668418d605"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_USE_DIRECT_FLOW&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#gac1db017f6ca01321a0d0427a26e4eb5d">CY_RSLT_OTA_INFO_BASE</a> + 4) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Use Direct flow for update. </p>

</div>
</div>
<a class="anchor" id="gac0aa1a41fe2d75d14443050ecb235505"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_OTA_NO_UPDATE_AVAILABLE&#160;&#160;&#160;( (cy_rslt_t)(<a class="el" href="group__group__ota__macros.html#gac1db017f6ca01321a0d0427a26e4eb5d">CY_RSLT_OTA_INFO_BASE</a> + 5) )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>No OTA update on the server. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Over The Air (OTA) Update Library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
</body>
</html>
